<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div {
      background-color: rgba(17, 119, 255, 0.5);
    }

    .middle {
      vertical-align: middle;
    }
  </style>
</head>

<body>
  <div>
    <img src="../../assets/images/Cheems.jpg">
  </div>

  <br>

  <div>
    <!-- 解决 img 和父元素底部存在间隙 -->
    <img class="middle" src="../../assets/images/Cheems.jpg">
  </div>
</body>

</html>